package com.whpost.service.dao.t;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.whpost.service.entity.t.TPermission;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TPermissionDao extends BaseMapper<TPermission> {

    @Select("select code from t_permission where ${ew.sqlSegment}")
    List<String> getPerCode(@Param("ew") QueryWrapper wrapper);

}